<template>
  <div>
    <template v-for="(item, index) in storyList">
      <StoryList :key="index" :index="index" :danmuArr="item.danmuArr" />
    </template>
  </div>
</template>

<script>
import StoryList from "../storyItem";
import {} from "@/constant";
export default {
  components: {
    StoryList
  },
  data: function() {
    return {
      storyList: [
        {
          story: "",
          danmuArr: [
            {
              top: 0.2,
              isAnimate: false,
              text: "哇塞，带我去@男朋友！"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "海外旅游的车票也能报么！针不戳呀！"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "什么是快乐星球？700块游日本！"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "可以出去旅游了我就去"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "之前只听说过，第一次看到车票真身，绝绝子！"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "宝！我想坐车了，什么车？我们的幸福列车！"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "我也上传车票看看，能抽中我不？"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "惊了！东京、大阪、名古屋、濑户内、广岛等我"
            }
          ]
        },
        {
          danmuArr: [
            {
              top: 0.2,
              isAnimate: false,
              text: "夺笋哪，车次都凑3个1！"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "伤害性不高，侮辱性极强"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "售票的哪有什么坏心思呢？多从自身找问题。"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "宝，我看到狗了，什么狗？你这条单身狗"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "哈哈哈哈，求乘客心理阴影面积。"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "这个运气不买彩票可惜了!"
            }
          ]
        },
        {
          danmuArr: [
            {
              top: 0.2,
              isAnimate: false,
              text: "列车长的名字是叫丘比特吗？"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "想和giegie去爱河！"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "天天生活在爱河的人民应该都很浪漫叭"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "牡丹江人民前来报道！"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "这估计是事故率最低的线路----“无法坠入爱河”"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "宝，宝想去跳河了，跳什么河？和你的爱河！"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "我爱你你爱我，爱河人民甜蜜蜜"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "和对象坐这趟车不结婚很难收场"
            }
          ]
        },
        {
          danmuArr: [
            {
              top: 0.2,
              isAnimate: false,
              text: "像极了小时候记错开学日子的我"
            },
            {
              top: 0.45,
              isAnimate: false,
              text: "大哥：小丑竟是我自己"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "这就是传说中的社死现场吗？"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "谢谢，有被笑到"
            },

            {
              top: 0.45,
              isAnimate: false,
              text: "原来干过这种蠢事的不止有我一个！"
            },
            {
              top: 0.7,
              isAnimate: false,
              text: "大哥操作满分呐"
            },
            {
              top: 0.2,
              isAnimate: false,
              text: "大哥估计喝大了"
            }
          ]
        }
      ]
    };
  }
};
</script>
